package com.samsung.dao.lottery;

import java.util.List;

import com.samsung.dto.lottery.CandidateDto;
import com.samsung.model.lottery.LotteryCandidate;

public interface LotteryCandidateMapper {
    int deleteByPrimaryKey(String id);

    int insert(LotteryCandidate record);

    int insertSelective(LotteryCandidate record);

    LotteryCandidate selectByPrimaryKey(String id);
    
     List<LotteryCandidate> selectByLid(String lid);
    
    int updateByPrimaryKeySelective(LotteryCandidate record);

    int updateByPrimaryKey(LotteryCandidate record);
    
    List<CandidateDto> selectCandidateByLid(String lid);

	void deleteByLid(String lid);
}